<%@ page contentType="text/html;charset=utf-8"%>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/jsp/common/taglibs.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Samsung SDS Vote System</title>
<%
	/**
	 common.jsp中包含了系统 全局要引用的JS文件及CSS文件。
	 同时定义了JS的系统全局变量
	 **/
%>
<%@ include file="/WEB-INF/jsp/common/meta.jsp"%>


<script type="text/javascript">
	$(document).ready(function() {
		setBodyHeight();
		$(window).resize(function() {
			setBodyHeight();
		});
	});
	/**
	 * 动态设置 Body Div的高度
	 */
	function setBodyHeight() {
		var height = $(window).height();
		height = height - 100;
		$("#mainBody").height(height);
	}
</script>
<style type="text/css">
.errorDiv {
	margin-bottom: 30px;
	background-color: #ffffff;
	border-width: 2px;
	min-height: 200px;
	width: 1000px;
	padding-top: 5px;
	margin-top: 10px;
}
</style>
<sitemesh:write property='head' />
</head>

<body>

	<div class="main-header">

		<%
			/**
			 顶部导航条
			 **/
		%>
		<%@ include file="/WEB-INF/jsp/common/header.jsp"%>
	</div>

	<div class="bar">&nbsp;</div>
	<div id="mainBody" class="container main-body ">

		<sitemesh:write property='body'></sitemesh:write>
		<center>
			<div class="errorDiv">
				<h2 style="text-align: left; padding-left: 5px;">
					对不起，你所请求的页面好像丢了...</h2>
				<div
					style="text-align: left; padding-left: 25px; max-height: 400px; overflow-y: auto;">
					请联系管理员！:) 

				</div>
			</div>
		</center>
		<%
			/**
			 底部导航条
			 **/
		%>
		<%@ include file="/WEB-INF/jsp/common/footer.jsp"%>
	</div>

</body>

</html>